<?php defined('SYSPATH') or die('No direct script access.');

// Static file serving (CSS, JS, images)
Route::set('resources', 'boletophp/resources(/<file>)', array('file' => '.+'))
	->defaults(array(
		'directory'	 => 'boletophp',
		'controller' => 'resources',
		'action'     => 'media',
		'file'       => NULL,
	));

#route for Boletophp module
Route::set('boletophp', 'boletophp(/<controller>(/<action>(/<id>)))')
	->defaults(array(
		'directory' 	 => 'boletophp',
		'controller' => 'welcome',
		'action' 	 => 'index',
	));
